package com.falcon.modules.domain.result;

import lombok.Data;

import java.io.Serializable;
import java.util.List;

@Data
public class RestDataResult<T> implements Serializable{
    private List<T> rows;
    private int results;
    public RestDataResult(List<T> rows,int records){
        this.rows = rows;
        this.results = records;
    }
}
